package com.one.entity;

public class User {
    //用户id
    private int user_id;
    //用户名
    private String user_admin;
    //用户名的密码
    private String user_password;
    //用户的真实姓名
    private String user_name;
    //用户的电子邮件
    private String user_email;
    //用户的性别
    private String user_sex;
    //用户的地址
    private String user_address;
    //用户的类型 0-为普通用户就是点单的，1-为管理用户接单的 默认为0
    private int user_type;
    //用户的家政信息
    private Housekeeping hk;



    //空的构造方法
    public User(){}

    //一般的构造方法
    public User(int user_id, String user_admin, String user_password,
                String user_name, String user_email, String user_sex, String user_address, int user_type) {
        this.user_id = user_id;
        this.user_admin = user_admin;
        this.user_password = user_password;
        this.user_name = user_name;
        this.user_email = user_email;
        this.user_sex = user_sex;
        this.user_address = user_address;
        this.user_type = user_type;
    }

    //用户的信息的封装
    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_admin() {
        return user_admin;
    }

    public void setUser_admin(String user_admin) {
        this.user_admin = user_admin;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_email() {
        return user_email;
    }

    public void setUser_email(String user_email) {
        this.user_email = user_email;
    }

    public String getUser_sex() {
        return user_sex;
    }

    public void setUser_sex(String user_sex) {
        this.user_sex = user_sex;
    }

    public String getUser_address() {
        return user_address;
    }

    public void setUser_address(String user_address) {
        this.user_address = user_address;
    }

    public int getUser_type() {
        return user_type;
    }

    public void setUser_type(int user_type) {
        this.user_type = user_type;
    }

    public Housekeeping getHk() {
        return hk;
    }

    public void setHk(Housekeeping hk) {
        this.hk = hk;
    }
}
